logout

open override fun logout(onResult: (Throwable?) -> Unit)

Log out the currently authenticated user. This signs the user out and clears their session.

Parameters

onResult

The callback function to handle the result of logout.